import React from "react";

export default class Fathor extends React.Component {
    render() {
        return (
            <div className="f-athor">
                <h1>父组件</h1>
                <h2>显示父组件的子组件</h2>
                <div>{this.props.children}</div>
            </div>
        )
    }
}